package ru.megazlo.basemvc.dao.repository;

import org.springframework.data.jpa.repository.JpaRepository;
import ru.megazlo.basemvc.dao.dto.User;


public interface UserRepository extends JpaRepository<User, Long> {

	User findByLoginAndPassword(String login, String password);

	User findByLogin(String login);
}
